<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <#include "../common.ftl" >
</head>
<body>
<div class="layui-col-md12">
    <div class="layui-card">
        <div class="layui-card-body">
            <form class="layui-form">
                <input name="id" type="hidden" value="${(supplier.id)!}"/>
                <div class="layui-form-item layui-row">
                    <div class="layui-col-xs6">
                        <label class="layui-form-label">供应商名称</label>
                        <div class="layui-input-block">
                            <input type="text" class="layui-input"
                                   name="name" id="name" value="${(supplier.supplierName)!}" readonly="readonly">
                        </div>
                    </div>
                    <div class="layui-col-xs6">
                        <label class="layui-form-label">供应商等级</label>
                        <div class="layui-input-block">
                            <input type="text" class="layui-input"
                                   name="fr" id="fr" value="${(supplier.supplierLevel)!}" readonly="readonly">
                        </div>
                    </div>
                </div>

                <div class="layui-form-item layui-row">
                    <div class="layui-col-xs6">
                        <label class="layui-form-label">供应商地址</label>
                        <div class="layui-input-block">
                            <input type="text" class="layui-input"
                                   name="address" value="${(supplier.supplierAddress)!}" readonly="readonly">
                        </div>
                    </div>
                </div>

            </form>
        </div>
    </div>
</div>

<table id="supplierMaterialList" class="layui-table" lay-filter="supplierMaterialFilter"></table>
<!--操作-->
<script id="toolbarDemo" type="text/html">
    <a class="layui-btn layui-btn-xs" lay-event="add">添加物料</a>
</script>
<script type="text/javascript" src="${ctx}/layuimini/js/supplier/materialList.js"></script>


</body>

</html>

